package com.anolesoft.yr.mbus.cont.service;

import com.anolesoft.yr.mbus.cont.entity.ContKeyCustomerMain;
import java.util.List;
import com.anolesoft.yr.mbus.cont.entity.ContKeyCustomerMainExample;
import com.anolesoft.yr.mbus.contm.entity.ContmBaseMain;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface ContKeyCustomerMainService extends IService<ContKeyCustomerMain>{


    long countByExample(ContKeyCustomerMainExample example);

    int deleteByExample(ContKeyCustomerMainExample example);

    List<ContKeyCustomerMain> selectByExample(ContKeyCustomerMainExample example);

    int updateByExampleSelective(ContKeyCustomerMain record,ContKeyCustomerMainExample example);

    int updateByExample(ContKeyCustomerMain record,ContKeyCustomerMainExample example);

    int updateBatch(List<ContKeyCustomerMain> list);

    int batchInsert(List<ContKeyCustomerMain> list);

    int insertOrUpdate(ContKeyCustomerMain record);

    int insertOrUpdateSelective(ContKeyCustomerMain record);

    List<ContKeyCustomerMain> selectAll(Page<ContKeyCustomerMain> page, LambdaQueryWrapper<ContKeyCustomerMain> like);

}
